package work.xiaohong.gupiao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author xiaohong
 * @Description
 * @date 2020/12/3 0003 19:39
 */
@SpringBootApplication
@MapperScan(basePackages = {"work.xiaohong.gupiao.dao"})
@EnableDiscoveryClient
@EnableScheduling
@RefreshScope
public class gupiaoApplication {
    public static void main(String[] args) {
        SpringApplication.run(gupiaoApplication.class,args);
    }
}
